package com.zhiyou.app.pojo.vo;

import cn.hutool.core.date.DateUtil;
import com.zhiyou.app.pojo.enums.WithdrawalStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Accessors(chain = true)
@Data
@ApiModel(value = "任务请求对象")
public class WithdrawalListQueryRequestVo extends PageRequestVo {
    @ApiModelProperty(value = "任务ID")
    private Integer userId;
    @ApiModelProperty(value = "任务描述")
    private WithdrawalStatusEnum status;
    @ApiModelProperty(value = "任务描述")
    private Date startTime = DateUtil.offsetDay(new Date(), -7);
    @ApiModelProperty(value = "订单号")
    private Date endTime = new Date();
}
